﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Welcome.aspx.cs" Inherits="Welcome" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/lib.js"></script>
    <style type="text/css">
        .welcome
        {
            padding: 15px;
        }
        .welcome_title
        {
            font-weight: bold;
            font-size: 14px;
            color: #4B4646;
        }
        .welcome_info
        {
            background: url(images/i.gif) 0 12px no-repeat;
            color: #777;
            padding: 12px 0 2px 15px;
        }
        .mainbox
        {
            padding: 0 15px 10px;
            width: 50%;
        }
        .mainbox_out
        {
            border: 1px solid #ACC7E9;
            border-top: 0;
        }
        .mainbox_title
        {
            background: url(images/leftnav-bg.gif) repeat-x scroll 0 -50px transparent;
            color: #00367F;
            font-weight: bold;
            height: 24px;
            line-height: 24px;
            overflow: hidden;
            padding-left: 10px;
        }
        .mainbox_title a
        {
            float: right;
            margin-right: 15px;
            font-weight: normal;
        }
        .mainbox_title a:hover
        {
            text-decoration: underline;
        }
        .company_notice ul
        {
            list-style: none;
            padding: 5px 0;
        }
        .company_notice li
        {
            background: url(images/shang.gif) 10px 11px no-repeat;
            padding-left: 20px;
            list-style: none;
            line-height: 28px;
        }
        .company_notice li a:hover
        {
            text-decoration: underline;
        }
        .company_notice li span
        {
            float: right;
            padding: 0 8px;
            color: #757575;
        }
    </style>
    <script type="text/javascript">
        function ShowDialog1(id) {
            top.CreateIframe("查看公告", "NoticeInfo.aspx?id=" + id, 700, 500);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="padding:8px 12px">
        <div class="welcome">
            <div class="welcome_title">
                欢迎使用芜湖新安中医院SEO优化评估系统！</div>
            <div class="welcome_info">
                您上次登录的时间是：<asp:Literal ID="ltlTime" runat="server"></asp:Literal></div>
        </div>
        <div class="mainbox">
            <div class="mainbox_out">
                <div class="mainbox_out1">
                    <div class="mainbox_title">
                        <div>
                            <span><a href="javascript:top.getPage('NoticeList.aspx','公告信息')">更多</a></span>最新公告</div>
                    </div>
                    <div class="mainbox_info company_notice">
                        <ul>
                            <asp:Repeater ID="rptNotice" runat="server">
                                <ItemTemplate>
                                    <li><span>
                                        <%#Convert.ToDateTime(Eval("CreateTime")).ToString("yyyy-MM-dd")%></span><a href="javascript:ShowDialog1(<%#Eval("ID")%>);"><%#Server.HtmlEncode(Eval("Title").ToString())%></a></li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
